import React from 'react'
import ReactDOM from 'react-dom'
import { createStore } from 'redux'
import 'bootstrap/dist/css/bootstrap.min.css'
import { Provider } from 'react-redux'
import store from './store/store'
import ShopList from './components/shopList'
import CartList from './components/cartList'

class App extends React.Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  render() {
    return (
      <div>
        <ShopList></ShopList>
        <CartList></CartList>
      </div>
    )
  }
}
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('app')
)
